package com.ruoyi.common.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("添加和删除监测点设备请求模型")
public class UpdateMonitorDeviceReq {

    @NotNull(message = "设备id数组不能为空")
    @ApiModelProperty(value = "设备id数组", required = true)
    private List<Integer> deviceIds;

    @NotNull(message = "监测点id不能为空")
    @ApiModelProperty(value = "监测点id", required = true)
    private Integer monitorId;

}
